package generics;

public class Tanuki extends Cat{
    public Tanuki() {
    }

    public Tanuki(String name, int age) {
        super(name, age);
    }
    @Override
    public void eat(String name, int age) {
        System.out.println("一只叫做" + name + "的，" + age + "岁的狸花猫，正在吃鱼");
    }
}
